package com.ruoyi.resource.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 图片资源对象 sys_business_resource_image
 *
 * @author ruoyi
 * @date 2023-12-25
 */
public class SysBusinessResourceImage extends BaseEntity
{

    /** 图片ID */
    private Long imageId;

    /** 图集ID */
    @Excel(name = "图集")
    private String imageTypeName;
    private Long imageTypeId;

    /** 图片全名 */
    private String fileName;
    @Excel(name = "图片名称")
    private String imageName;

    /** 标签ID */
    @Excel(name = "标签")
    private String labelName;
    private String labelId;


    /** 桥梁 */
    @Excel(name = "清单对象")
    private String bridgeName;
    private String bridgeNum;
    private Long checkListId;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 拍摄方向 */
    @Excel(name = "拍摄方向")
    private String imageDirection;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    @Excel(name = "发布时间")
    private Date createTime;

    /** 是否公用(0公用1私用) */
    @Excel(name = "是否公用",readConverterExp = "Y=公用,N=私有")
    private String isPublic;


    /** 图片地址 */
//    @Excel(name = "图片地址")
    private String imageUrl;
    private String imageUrls;

    /** 状态（0草稿 1已发 2已撤） */
    @Excel(name = "状态", readConverterExp = "0=草稿,1=已发布,2=已撤回")
    private String status;

    /** 是否置顶（0否 1是） */
//    @Excel(name = "是否置顶", readConverterExp = "0=否,1=是")
    private String isTop;

    /** 是否置底（0否 1是） */
//    @Excel(name = "是否置底", readConverterExp = "0=否,1=是")
    private String isBottom;

    /** 显示顺序 */
//    @Excel(name = "显示顺序")
    private Integer orderNum;


    public String getBridgeName() {
        return bridgeName;
    }

    public void setBridgeName(String bridgeName) {
        this.bridgeName = bridgeName;
    }

    public String getBridgeNum() {
        return bridgeNum;
    }

    public void setBridgeNum(String bridgeNum) {
        this.bridgeNum = bridgeNum;
    }

    public Long getCheckListId() {
        return checkListId;
    }

    public void setCheckListId(Long checkListId) {
        this.checkListId = checkListId;
    }

    public String getIsPublic() {
        return isPublic;
    }

    public void setIsPublic(String isPublic) {
        this.isPublic = isPublic;
    }

    public String getImageDirection() {
        return imageDirection;
    }

    public void setImageDirection(String imageDirection) {
        this.imageDirection = imageDirection;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getImageTypeName() {
        return imageTypeName;
    }

    public void setImageTypeName(String imageTypeName) {
        this.imageTypeName = imageTypeName;
    }

    public String getLabelName() {
        return labelName;
    }

    public void setLabelName(String labelName) {
        this.labelName = labelName;
    }

    public String getImageUrls() {
        return imageUrls;
    }

    public void setImageUrls(String imageUrls) {
        this.imageUrls = imageUrls;
    }

    public void setImageId(Long imageId)
    {
        this.imageId = imageId;
    }

    public Long getImageId()
    {
        return imageId;
    }
    public void setImageTypeId(Long imageTypeId)
    {
        this.imageTypeId = imageTypeId;
    }

    public Long getImageTypeId()
    {
        return imageTypeId;
    }
    public void setImageName(String imageName)
    {
        this.imageName = imageName;
    }

    public String getImageName()
    {
        return imageName;
    }
    public void setLabelId(String labelId)
    {
        this.labelId = labelId;
    }

    public String getLabelId()
    {
        return labelId;
    }
    public void setAuthor(String author)
    {
        this.author = author;
    }

    public String getAuthor()
    {
        return author;
    }
    public void setImageUrl(String imageUrl)
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl()
    {
        return imageUrl;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setIsTop(String isTop)
    {
        this.isTop = isTop;
    }

    public String getIsTop()
    {
        return isTop;
    }
    public void setIsBottom(String isBottom)
    {
        this.isBottom = isBottom;
    }

    public String getIsBottom()
    {
        return isBottom;
    }
    public void setOrderNum(Integer orderNum)
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum()
    {
        return orderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("imageId", getImageId())
                .append("imageTypeId", getImageTypeId())
                .append("imageName", getImageName())
                .append("labelId", getLabelId())
                .append("author", getAuthor())
                .append("imageUrl", getImageUrl())
                .append("status", getStatus())
                .append("isTop", getIsTop())
                .append("isBottom", getIsBottom())
                .append("orderNum", getOrderNum())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
